// UserInterface.h provides the attributes of the UserInterface class
//-----------------

#if !defined( UserInterfaceH)
#define UserInterfaceH

//-----------------
// Includes various libraries and files
#include <cassert>		// for asserts
#include <d3dx9.h>		// Direct 3D library (for all Direct 3D functions)
#include <string>
#include <sstream>

#include "Button.h"
#include "constants.h"
#include "Text.h"
#include "Window.h"
//-----------------

class UserInterface {
	public:
		// constructor
		UserInterface( LPDIRECT3DDEVICE9 device, Window* window);

		// mutators
		void render_text( const std::string& t, const int& x, const int& y, const int& a, const int& r, const int& g, const int& b);
		void render_text( const Button& b);

	private:
		Text text_;			// text class variable; used to display text on the screen
		LPDIRECT3DDEVICE9 device_;
		Window* p_window_;
};

#endif